package dk.rhok.model;

public class WatSanAssessmentImpl implements WatSanAssessment {
	
	private final long timestamp;
	private final double latitude;
	private final double longitude;
	private final String landowner;
	private final int yearInstalled;
	private final String status;
	private final float depth;
	private String type = "water"; // Type for the json file (map)
	

	public WatSanAssessmentImpl(long timestamp, double latitude, double longitude, String landowner, int yearInstalled, String status, float depth) {
		this.timestamp = timestamp;
		this.latitude = latitude;
		this.longitude = longitude;
		this.landowner = landowner;
		this.yearInstalled = yearInstalled;
		this.status = status;
		this.depth = depth;
	}

	@Override
	public long timestamp() {
		return timestamp;
	}

	@Override
	public double latitude() {
		return latitude;
	}

	@Override
	public double longitude() {
		return longitude;
	}

	@Override
	public String landOwner() {
		return landowner;
	}

	@Override
	public int yearInstalled() {
		return yearInstalled;
	}

	@Override
	public String status() {
		return status;
	}

	@Override
	public float depth() {
		return depth;
	}

	@Override
	public String getName() {
		return type;
	}
	
	@Override
	public String getType() {
		return type;
	}

}
